package com.shycloud.mido.homework.api.feign;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.shycloud.mido.homework.api.entity.OrgRelationshipUnlinkLog;

@FeignClient("shycloud-member-biz")
public interface TeacherFeignService {

	@GetMapping("/teacherStudent/getTeacherId")
	String getTeacherId(@RequestParam("orgId") Integer orgId);

	@GetMapping("/teacherStudent/getCurTeacIdByStu")
	String getCurTeacherIdByStu(@RequestParam("studentId") String studentId);

	@GetMapping("/teacherStudent/getTeacIdsByStu")
	List<String> getTeacherIdsByStudentId(@RequestParam("studentId") String studentId);

	@GetMapping("/teacherStudent/getUnlinkLog")
	List<OrgRelationshipUnlinkLog> getUniqueTeacherUnlinkLog(@RequestParam("studentId") String studentId);

}
